<?php
/**
 * Created by PhpStorm.
 * User: jiyan
 * Date: 2017/4/28
 * Time: 10:44
 */
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<!--    文件上传必须填写enctype属性-->
    <form action="" method="post" enctype="multipart/form-data">
<!--        多文件上传：name用数组的形式并且相同-->
        文件1：<input type="file" name="ups[]" id="">
        <br><br>
        文件2：<input type="file" name="ups[]" id="">
        <br><br>
        <input type="submit" value="上传">
    </form>
</body>
</html>
